package com.tengju.user.domain.model.csm.dealer;

import com.tengju.user.domain.model.user.UserIdCode;

import java.util.List;

public interface CrmDealerInfoRepository {

    List<CrmDealerInfo> getCrmDealerInfoList(Long idCode, Integer level,
                                             String startTime, String endTime,
                                             Long areaSupIdCode, List<Long> genSecIdCodeList,
                                             Long inviteCode,
                                             String goodNumber,
                                             String weChat,
                                             String mobile,
                                             int offset, int limit);

    int getCrmDealerInfoCount(Long idCode, Integer level,
                              String startTime, String endTime,
                              Long areaSupIdCode, List<Long> genSecIdCodeList,
                              Long inviteCode,
                              String goodNumber,
                              String weChat,
                              String mobile);


    CrmDealerInfo getCrmDealerSupInfo(UserIdCode userIdCode);

    List<CrmDealerInfo> getAll();

    List<CrmDealerInfo> getCrmDealerNameInfo();

    List<CrmDealerInfo> listCrmDealerInfo(List<UserIdCode> idCodeList);

}
